package cn.unknowpupil.init.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created at 2020/11/25 by w10g <br>
 * Initialize RoleUserDto ... <br>
 *
 * @author unknowpupil
 * @since 0.0.1
 */
@Data
public class RoleUserDto {
    @NotNull(message = "用户ID不能为空")
    private Long userId;
    @NotNull(message = "角色ID不能为空")
    private Long roleId;
}
